package cn.org.xwb.common.file.enmus;

import lombok.Getter;

@Getter
public enum FileUploadStatus {

    FILE_UPLOAD_FAIL(-2, "文件上传失败"),
    FILE_UPLOAD_SUCCESS(-1, "文件上传成功"),
    FILE_UPLOAD_START(0, "文件开始上传..."),
    FILE_UPLOAD_ING(1, "文件上传中..."),
    FILE_UPLOAD_ED(2, "文件上传完成，系统保存中");

    /**
     * 状态
     */
    private final Integer status;

    /**
     * 状态信息
     */
    private final String message;

    private FileUploadStatus(Integer status, String message) {
        this.status = status;
        this.message = message;
    }

}
